package com.suyuan.dao;

import java.util.List;

import com.suyuan.entity.PermissionEmployee;
import com.suyuan.entity.PermissionEmployeeExample;
import org.apache.ibatis.annotations.Param;

public interface PermissionEmployeeMapper {
    int countByExample(PermissionEmployeeExample example);

    int deleteByExample(PermissionEmployeeExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(PermissionEmployee record);

    int insertSelective(PermissionEmployee record);

    List<PermissionEmployee> selectByExample(PermissionEmployeeExample example);

    PermissionEmployee selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") PermissionEmployee record, @Param("example") PermissionEmployeeExample example);

    int updateByExample(@Param("record") PermissionEmployee record, @Param("example") PermissionEmployeeExample example);

    int updateByPrimaryKeySelective(PermissionEmployee record);

    int updateByPrimaryKey(PermissionEmployee record);
}